package com.ruoyi.procurementmanagement.service;

import java.util.List;
import com.ruoyi.procurementmanagement.domain.ErpSupplierSettlement;

/**
 * 供应商结算单Service接口
 *
 * @author ruoyi
 * @date 2025-03-20
 */
public interface IErpSupplierSettlementService
{
    /**
     * 查询供应商结算单
     *
     * @param id 供应商结算单主键
     * @return 供应商结算单
     */
    public ErpSupplierSettlement selectErpSupplierSettlementById(Long id);

    /**
     * 查询供应商结算单列表
     *
     * @param erpSupplierSettlement 供应商结算单
     * @return 供应商结算单集合
     */
    public List<ErpSupplierSettlement> selectErpSupplierSettlementList(ErpSupplierSettlement erpSupplierSettlement);

    /**
     * 新增供应商结算单
     *
     * @param erpSupplierSettlement 供应商结算单
     * @return 结果
     */
    public int insertErpSupplierSettlement(ErpSupplierSettlement erpSupplierSettlement);

    /**
     * 修改供应商结算单
     *
     * @param erpSupplierSettlement 供应商结算单
     * @return 结果
     */
    public int updateErpSupplierSettlement(ErpSupplierSettlement erpSupplierSettlement);

    /**
     * 批量删除供应商结算单
     *
     * @param ids 需要删除的供应商结算单主键集合
     * @return 结果
     */
    public int deleteErpSupplierSettlementByIds(Long[] ids);

    /**
     * 删除供应商结算单信息
     *
     * @param id 供应商结算单主键
     * @return 结果
     */
    public int deleteErpSupplierSettlementById(Long id);

    /**
     * 取消供应商结算单
     *
     * @param id 供应商结算单主键
     * @return 结果
     */
    public int cancelErpSupplierSettlement(Long id);
}
